{"id":1649,"date":"2018-05-22T23:26:00","date_gmt":"2018-05-22T21:26:00","guid":{"rendered":"http:\/\/yarogniew.net\/arduino\/?p=1649"},"modified":"2018-05-23T13:00:19","modified_gmt":"2018-05-23T11:00:19","slug":"python-i-okienka-biblioteka-wxpython","status":"publish","type":"post","link":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/python-i-okienka-biblioteka-wxpython\/","title":{"rendered":"Python i okienka, biblioteka wxPython"},"content":{"rendered":"<p>Moje pierwsze okienko:<\/p>\n<pre class=\"brush: python; light: false; title: Kod:; toolbar: true; notranslate\" title=\"Kod:\">\r\nimport wx\r\n\r\napp = wx.App()\r\nframe = wx.Frame(None, -1, &quot;Tytul&quot;)\r\nframe.Show()\r\napp.MainLoop()\r\n<\/pre>\n<p>Drugie okienko z potwierdzeniem wyj\u015bcia<\/p>\n<pre class=\"brush: python; light: false; title: Kod:; toolbar: true; notranslate\" title=\"Kod:\">\r\nimport wx\r\n\r\ndef OnClose(event):\r\n    dlg = wx.MessageDialog(top,\r\n        &quot;Naprawd\u0119 chcesz to, kurna, zamkn\u0105\u0107?&quot;,\r\n        &quot;Co jest?!&quot;, wx.OK|wx.CANCEL|wx.ICON_QUESTION)\r\n    result = dlg.ShowModal()\r\n    dlg.Destroy()\r\n    if result == wx.ID_OK:\r\n        top.Destroy()\r\n\r\napp = wx.App(redirect=True)\r\ntop = wx.Frame(None, title=&quot;Hello World&quot;, size=(300,200))\r\ntop.Bind(wx.EVT_CLOSE, OnClose)\r\ntop.Show()\r\napp.MainLoop()\r\n<\/pre>\n<p>Trzecie okno z klas\u0105<\/p>\n<pre class=\"brush: python; light: false; title: Kod:; toolbar: true; notranslate\" title=\"Kod:\">\r\nimport wx\r\n\r\nclass windowClass(wx.Frame):\r\n\r\n    def __init__(self, parent, title):\r\n        super(windowClass, self).__init__(parent, title=title, size=(400, 300))\r\n\r\n        self.Move(100, 500)  # pozycja okna 100, 500\r\n        self.Center()   # pozycja okna w \u015brodku\r\n\r\n        self.Show()\r\n\r\n\r\napp = wx.App()\r\nwindowClass(None, title=&quot;Jo\u0142, jo\u0142&quot;)\r\napp.MainLoop()\r\n<\/pre>\n<p>Okno z menu<\/p>\n<pre class=\"brush: python; light: false; title: Kod:; toolbar: true; notranslate\" title=\"Kod:\">\r\n#!\/usr\/bin\/env python3\r\n# -*- coding: utf-8 -*-\r\n\r\n&quot;&quot;&quot;\r\nZetCode wxPython tutorial\r\n\r\nThis example shows a simple menu.\r\n\r\nauthor: Jan Bodnar\r\nwebsite: www.zetcode.com\r\nlast modified: April 2018\r\n&quot;&quot;&quot;\r\n\r\nimport wx\r\n\r\n\r\nclass Example(wx.Frame):\r\n\r\n    def __init__(self, *args, **kwargs):\r\n        super(Example, self).__init__(*args, **kwargs)\r\n\r\n        self.InitUI()\r\n\r\n    def InitUI(self):\r\n\r\n        menubar = wx.MenuBar()\r\n        fileMenu = wx.Menu()\r\n        fileItem = fileMenu.Append(wx.ID_EXIT, 'Quit', 'Quit application')\r\n        menubar.Append(fileMenu, '&amp;File')\r\n        self.SetMenuBar(menubar)\r\n\r\n        self.Bind(wx.EVT_MENU, self.OnQuit, fileItem)\r\n\r\n        self.SetSize((300, 200))\r\n        self.SetTitle('Simple menu')\r\n        self.Centre()\r\n\r\n    def OnQuit(self, e):\r\n        self.Close()\r\n\r\n\r\ndef main():\r\n\r\n    app = wx.App()\r\n    ex = Example(None)\r\n    ex.Show()\r\n    app.MainLoop()\r\n\r\n\r\nif __name__ == '__main__':\r\n    main()\r\n\r\n<\/pre>\n<p><a href=\"http:\/\/zetcode.com\/wxpython\/\">wxPython tutorial &#8211; Jan Bodnar<\/a><\/p>\n<blockquote><p>You can check your virtual environment in PyCharm -&gt; Preferences -&gt; Project -&gt; Project Interpreter. There you can also press the + symbol at the bottom left to install wxpython there. (Which will basically pip install the package inside the virtualenv your project uses.)<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Moje pierwsze okienko: import wx app = wx.App() frame = wx.Frame(None, -1, &quot;Tytul&quot;) frame.Show() app.MainLoop() Drugie okienko z potwierdzeniem wyj\u015bcia import wx def OnClose(event): dlg = wx.MessageDialog(top, &quot;Naprawd\u0119 chcesz to,&#8230;<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[59],"tags":[],"class_list":["post-1649","post","type-post","status-publish","format-standard","hentry","category-python"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"Moje pierwsze okienko: [code lang=&quot;python&quot;] import wx app = wx.App() frame = wx.Frame(None, -1, &quot;Tytul&quot;) frame.Show() app.MainLoop() [\/code] Drugie okienko z potwierdzeniem wyj\u015bcia [code lang=&quot;python&quot;] import wx def OnClose(event): dlg = wx.MessageDialog(top, &quot;Naprawd\u0119 chcesz to, kurna, zamkn\u0105\u0107?&quot;, &quot;Co jest?!&quot;, wx.OK|wx.CANCEL|wx.ICON_QUESTION) result = dlg.ShowModal() dlg.Destroy() if result == wx.ID_OK: top.Destroy() app = wx.App(redirect=True) top = wx.Frame(None,\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"yarogniew_anpl\"\/>\n\t<link rel=\"canonical\" href=\"http:\/\/adsl_zapas.dkonto.pl\/index.php\/python-i-okienka-biblioteka-wxpython\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"pl_PL\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Arduino dla strasznych lamer\u00f3w - www.arduino.net.pl\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Python i okienka, biblioteka wxPython - Arduino dla strasznych lamer\u00f3w\" \/>\n\t\t<meta property=\"og:description\" content=\"Moje pierwsze okienko: [code lang=&quot;python&quot;] import wx app = wx.App() frame = wx.Frame(None, -1, &quot;Tytul&quot;) frame.Show() app.MainLoop() [\/code] Drugie okienko z potwierdzeniem wyj\u015bcia [code lang=&quot;python&quot;] import wx def OnClose(event): dlg = wx.MessageDialog(top, &quot;Naprawd\u0119 chcesz to, kurna, zamkn\u0105\u0107?&quot;, &quot;Co jest?!&quot;, wx.OK|wx.CANCEL|wx.ICON_QUESTION) result = dlg.ShowModal() dlg.Destroy() if result == wx.ID_OK: top.Destroy() app = wx.App(redirect=True) top = wx.Frame(None,\" \/>\n\t\t<meta property=\"og:url\" content=\"http:\/\/adsl_zapas.dkonto.pl\/index.php\/python-i-okienka-biblioteka-wxpython\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2018-05-22T21:26:00+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2018-05-23T11:00:19+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Python i okienka, biblioteka wxPython - Arduino dla strasznych lamer\u00f3w\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Moje pierwsze okienko: [code lang=&quot;python&quot;] import wx app = wx.App() frame = wx.Frame(None, -1, &quot;Tytul&quot;) frame.Show() app.MainLoop() [\/code] Drugie okienko z potwierdzeniem wyj\u015bcia [code lang=&quot;python&quot;] import wx def OnClose(event): dlg = wx.MessageDialog(top, &quot;Naprawd\u0119 chcesz to, kurna, zamkn\u0105\u0107?&quot;, &quot;Co jest?!&quot;, wx.OK|wx.CANCEL|wx.ICON_QUESTION) result = dlg.ShowModal() dlg.Destroy() if result == wx.ID_OK: top.Destroy() app = wx.App(redirect=True) top = wx.Frame(None,\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/python-i-okienka-biblioteka-wxpython\\\/#blogposting\",\"name\":\"Python i okienka, biblioteka wxPython - Arduino dla strasznych lamer\\u00f3w\",\"headline\":\"Python i okienka, biblioteka wxPython\",\"author\":{\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/author\\\/yarogniew_anpl\\\/#author\"},\"publisher\":{\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/python-i-okienka-biblioteka-wxpython\\\/#articleImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/daf42a0de5021721fc53447fe7cf000e09055bf4fb96ef98490902a9e4de3bf2?s=96&d=identicon&r=g\",\"width\":96,\"height\":96,\"caption\":\"yarogniew_anpl\"},\"datePublished\":\"2018-05-22T23:26:00+02:00\",\"dateModified\":\"2018-05-23T13:00:19+02:00\",\"inLanguage\":\"pl-PL\",\"mainEntityOfPage\":{\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/python-i-okienka-biblioteka-wxpython\\\/#webpage\"},\"isPartOf\":{\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/python-i-okienka-biblioteka-wxpython\\\/#webpage\"},\"articleSection\":\"Python\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/python-i-okienka-biblioteka-wxpython\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/category\\\/programowanie\\\/#listItem\",\"name\":\"PROGRAMOWANIE\"}},{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/category\\\/programowanie\\\/#listItem\",\"position\":2,\"name\":\"PROGRAMOWANIE\",\"item\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/category\\\/programowanie\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/category\\\/programowanie\\\/python\\\/#listItem\",\"name\":\"Python\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/category\\\/programowanie\\\/python\\\/#listItem\",\"position\":3,\"name\":\"Python\",\"item\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/category\\\/programowanie\\\/python\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/python-i-okienka-biblioteka-wxpython\\\/#listItem\",\"name\":\"Python i okienka, biblioteka wxPython\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/category\\\/programowanie\\\/#listItem\",\"name\":\"PROGRAMOWANIE\"}},{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/python-i-okienka-biblioteka-wxpython\\\/#listItem\",\"position\":4,\"name\":\"Python i okienka, biblioteka wxPython\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/category\\\/programowanie\\\/python\\\/#listItem\",\"name\":\"Python\"}}]},{\"@type\":\"Person\",\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/#person\",\"name\":\"yarogniew_anpl\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/python-i-okienka-biblioteka-wxpython\\\/#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/daf42a0de5021721fc53447fe7cf000e09055bf4fb96ef98490902a9e4de3bf2?s=96&d=identicon&r=g\",\"width\":96,\"height\":96,\"caption\":\"yarogniew_anpl\"}},{\"@type\":\"Person\",\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/author\\\/yarogniew_anpl\\\/#author\",\"url\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/author\\\/yarogniew_anpl\\\/\",\"name\":\"yarogniew_anpl\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/python-i-okienka-biblioteka-wxpython\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/daf42a0de5021721fc53447fe7cf000e09055bf4fb96ef98490902a9e4de3bf2?s=96&d=identicon&r=g\",\"width\":96,\"height\":96,\"caption\":\"yarogniew_anpl\"}},{\"@type\":\"WebPage\",\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/python-i-okienka-biblioteka-wxpython\\\/#webpage\",\"url\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/python-i-okienka-biblioteka-wxpython\\\/\",\"name\":\"Python i okienka, biblioteka wxPython - Arduino dla strasznych lamer\\u00f3w\",\"description\":\"Moje pierwsze okienko: [code lang=\\\"python\\\"] import wx app = wx.App() frame = wx.Frame(None, -1, \\\"Tytul\\\") frame.Show() app.MainLoop() [\\\/code] Drugie okienko z potwierdzeniem wyj\\u015bcia [code lang=\\\"python\\\"] import wx def OnClose(event): dlg = wx.MessageDialog(top, \\\"Naprawd\\u0119 chcesz to, kurna, zamkn\\u0105\\u0107?\\\", \\\"Co jest?!\\\", wx.OK|wx.CANCEL|wx.ICON_QUESTION) result = dlg.ShowModal() dlg.Destroy() if result == wx.ID_OK: top.Destroy() app = wx.App(redirect=True) top = wx.Frame(None,\",\"inLanguage\":\"pl-PL\",\"isPartOf\":{\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/#website\"},\"breadcrumb\":{\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/python-i-okienka-biblioteka-wxpython\\\/#breadcrumblist\"},\"author\":{\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/author\\\/yarogniew_anpl\\\/#author\"},\"creator\":{\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/index.php\\\/author\\\/yarogniew_anpl\\\/#author\"},\"datePublished\":\"2018-05-22T23:26:00+02:00\",\"dateModified\":\"2018-05-23T13:00:19+02:00\"},{\"@type\":\"WebSite\",\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/#website\",\"url\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/\",\"name\":\"Arduino dla strasznych lamer\\u00f3w\",\"description\":\"www.arduino.net.pl\",\"inLanguage\":\"pl-PL\",\"publisher\":{\"@id\":\"http:\\\/\\\/adsl_zapas.dkonto.pl\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Python i okienka, biblioteka wxPython - Arduino dla strasznych lamer\u00f3w","description":"Moje pierwsze okienko: [code lang=\"python\"] import wx app = wx.App() frame = wx.Frame(None, -1, \"Tytul\") frame.Show() app.MainLoop() [\/code] Drugie okienko z potwierdzeniem wyj\u015bcia [code lang=\"python\"] import wx def OnClose(event): dlg = wx.MessageDialog(top, \"Naprawd\u0119 chcesz to, kurna, zamkn\u0105\u0107?\", \"Co jest?!\", wx.OK|wx.CANCEL|wx.ICON_QUESTION) result = dlg.ShowModal() dlg.Destroy() if result == wx.ID_OK: top.Destroy() app = wx.App(redirect=True) top = wx.Frame(None,","canonical_url":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/python-i-okienka-biblioteka-wxpython\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/python-i-okienka-biblioteka-wxpython\/#blogposting","name":"Python i okienka, biblioteka wxPython - Arduino dla strasznych lamer\u00f3w","headline":"Python i okienka, biblioteka wxPython","author":{"@id":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/author\/yarogniew_anpl\/#author"},"publisher":{"@id":"http:\/\/adsl_zapas.dkonto.pl\/#person"},"image":{"@type":"ImageObject","@id":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/python-i-okienka-biblioteka-wxpython\/#articleImage","url":"https:\/\/secure.gravatar.com\/avatar\/daf42a0de5021721fc53447fe7cf000e09055bf4fb96ef98490902a9e4de3bf2?s=96&d=identicon&r=g","width":96,"height":96,"caption":"yarogniew_anpl"},"datePublished":"2018-05-22T23:26:00+02:00","dateModified":"2018-05-23T13:00:19+02:00","inLanguage":"pl-PL","mainEntityOfPage":{"@id":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/python-i-okienka-biblioteka-wxpython\/#webpage"},"isPartOf":{"@id":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/python-i-okienka-biblioteka-wxpython\/#webpage"},"articleSection":"Python"},{"@type":"BreadcrumbList","@id":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/python-i-okienka-biblioteka-wxpython\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"http:\/\/adsl_zapas.dkonto.pl#listItem","position":1,"name":"Home","item":"http:\/\/adsl_zapas.dkonto.pl","nextItem":{"@type":"ListItem","@id":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/category\/programowanie\/#listItem","name":"PROGRAMOWANIE"}},{"@type":"ListItem","@id":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/category\/programowanie\/#listItem","position":2,"name":"PROGRAMOWANIE","item":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/category\/programowanie\/","nextItem":{"@type":"ListItem","@id":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/category\/programowanie\/python\/#listItem","name":"Python"},"previousItem":{"@type":"ListItem","@id":"http:\/\/adsl_zapas.dkonto.pl#listItem","name":"Home"}},{"@type":"ListItem","@id":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/category\/programowanie\/python\/#listItem","position":3,"name":"Python","item":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/category\/programowanie\/python\/","nextItem":{"@type":"ListItem","@id":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/python-i-okienka-biblioteka-wxpython\/#listItem","name":"Python i okienka, biblioteka wxPython"},"previousItem":{"@type":"ListItem","@id":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/category\/programowanie\/#listItem","name":"PROGRAMOWANIE"}},{"@type":"ListItem","@id":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/python-i-okienka-biblioteka-wxpython\/#listItem","position":4,"name":"Python i okienka, biblioteka wxPython","previousItem":{"@type":"ListItem","@id":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/category\/programowanie\/python\/#listItem","name":"Python"}}]},{"@type":"Person","@id":"http:\/\/adsl_zapas.dkonto.pl\/#person","name":"yarogniew_anpl","image":{"@type":"ImageObject","@id":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/python-i-okienka-biblioteka-wxpython\/#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/daf42a0de5021721fc53447fe7cf000e09055bf4fb96ef98490902a9e4de3bf2?s=96&d=identicon&r=g","width":96,"height":96,"caption":"yarogniew_anpl"}},{"@type":"Person","@id":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/author\/yarogniew_anpl\/#author","url":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/author\/yarogniew_anpl\/","name":"yarogniew_anpl","image":{"@type":"ImageObject","@id":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/python-i-okienka-biblioteka-wxpython\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/daf42a0de5021721fc53447fe7cf000e09055bf4fb96ef98490902a9e4de3bf2?s=96&d=identicon&r=g","width":96,"height":96,"caption":"yarogniew_anpl"}},{"@type":"WebPage","@id":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/python-i-okienka-biblioteka-wxpython\/#webpage","url":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/python-i-okienka-biblioteka-wxpython\/","name":"Python i okienka, biblioteka wxPython - Arduino dla strasznych lamer\u00f3w","description":"Moje pierwsze okienko: [code lang=\"python\"] import wx app = wx.App() frame = wx.Frame(None, -1, \"Tytul\") frame.Show() app.MainLoop() [\/code] Drugie okienko z potwierdzeniem wyj\u015bcia [code lang=\"python\"] import wx def OnClose(event): dlg = wx.MessageDialog(top, \"Naprawd\u0119 chcesz to, kurna, zamkn\u0105\u0107?\", \"Co jest?!\", wx.OK|wx.CANCEL|wx.ICON_QUESTION) result = dlg.ShowModal() dlg.Destroy() if result == wx.ID_OK: top.Destroy() app = wx.App(redirect=True) top = wx.Frame(None,","inLanguage":"pl-PL","isPartOf":{"@id":"http:\/\/adsl_zapas.dkonto.pl\/#website"},"breadcrumb":{"@id":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/python-i-okienka-biblioteka-wxpython\/#breadcrumblist"},"author":{"@id":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/author\/yarogniew_anpl\/#author"},"creator":{"@id":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/author\/yarogniew_anpl\/#author"},"datePublished":"2018-05-22T23:26:00+02:00","dateModified":"2018-05-23T13:00:19+02:00"},{"@type":"WebSite","@id":"http:\/\/adsl_zapas.dkonto.pl\/#website","url":"http:\/\/adsl_zapas.dkonto.pl\/","name":"Arduino dla strasznych lamer\u00f3w","description":"www.arduino.net.pl","inLanguage":"pl-PL","publisher":{"@id":"http:\/\/adsl_zapas.dkonto.pl\/#person"}}]},"og:locale":"pl_PL","og:site_name":"Arduino dla strasznych lamer\u00f3w - www.arduino.net.pl","og:type":"article","og:title":"Python i okienka, biblioteka wxPython - Arduino dla strasznych lamer\u00f3w","og:description":"Moje pierwsze okienko: [code lang=&quot;python&quot;] import wx app = wx.App() frame = wx.Frame(None, -1, &quot;Tytul&quot;) frame.Show() app.MainLoop() [\/code] Drugie okienko z potwierdzeniem wyj\u015bcia [code lang=&quot;python&quot;] import wx def OnClose(event): dlg = wx.MessageDialog(top, &quot;Naprawd\u0119 chcesz to, kurna, zamkn\u0105\u0107?&quot;, &quot;Co jest?!&quot;, wx.OK|wx.CANCEL|wx.ICON_QUESTION) result = dlg.ShowModal() dlg.Destroy() if result == wx.ID_OK: top.Destroy() app = wx.App(redirect=True) top = wx.Frame(None,","og:url":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/python-i-okienka-biblioteka-wxpython\/","article:published_time":"2018-05-22T21:26:00+00:00","article:modified_time":"2018-05-23T11:00:19+00:00","twitter:card":"summary_large_image","twitter:title":"Python i okienka, biblioteka wxPython - Arduino dla strasznych lamer\u00f3w","twitter:description":"Moje pierwsze okienko: [code lang=&quot;python&quot;] import wx app = wx.App() frame = wx.Frame(None, -1, &quot;Tytul&quot;) frame.Show() app.MainLoop() [\/code] Drugie okienko z potwierdzeniem wyj\u015bcia [code lang=&quot;python&quot;] import wx def OnClose(event): dlg = wx.MessageDialog(top, &quot;Naprawd\u0119 chcesz to, kurna, zamkn\u0105\u0107?&quot;, &quot;Co jest?!&quot;, wx.OK|wx.CANCEL|wx.ICON_QUESTION) result = dlg.ShowModal() dlg.Destroy() if result == wx.ID_OK: top.Destroy() app = wx.App(redirect=True) top = wx.Frame(None,"},"aioseo_meta_data":{"post_id":"1649","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"BlogPosting","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2022-08-02 13:06:57","updated":"2025-07-06 15:09:25","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"http:\/\/adsl_zapas.dkonto.pl\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"http:\/\/adsl_zapas.dkonto.pl\/index.php\/category\/programowanie\/\" title=\"PROGRAMOWANIE\">PROGRAMOWANIE<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"http:\/\/adsl_zapas.dkonto.pl\/index.php\/category\/programowanie\/python\/\" title=\"Python\">Python<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tPython i okienka, biblioteka wxPython\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"http:\/\/adsl_zapas.dkonto.pl"},{"label":"PROGRAMOWANIE","link":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/category\/programowanie\/"},{"label":"Python","link":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/category\/programowanie\/python\/"},{"label":"Python i okienka, biblioteka wxPython","link":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/python-i-okienka-biblioteka-wxpython\/"}],"_links":{"self":[{"href":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/wp-json\/wp\/v2\/posts\/1649","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/wp-json\/wp\/v2\/comments?post=1649"}],"version-history":[{"count":8,"href":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/wp-json\/wp\/v2\/posts\/1649\/revisions"}],"predecessor-version":[{"id":1657,"href":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/wp-json\/wp\/v2\/posts\/1649\/revisions\/1657"}],"wp:attachment":[{"href":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/wp-json\/wp\/v2\/media?parent=1649"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/wp-json\/wp\/v2\/categories?post=1649"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/adsl_zapas.dkonto.pl\/index.php\/wp-json\/wp\/v2\/tags?post=1649"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}